<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>学位信息查询</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
</head>
<body>

  <div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
      <a lay-href="">综合信息查询</a>
      <a><cite>学位信息查询</cite></a>
    </div>
  </div>

  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-header">学位信息查询</div>
          <div class="layui-card-body">
          	<form class="layui-form" action=""
							lay-filter="component-form-group">
							<div class="layui-form-item">
		            <div class="cmtMbrMng-btn" style="margin-bottom: 10px;">
		              <div class="layui-inline">
		              	<div class="layui-input-inline">
				              <input class="layui-input" name="studentname" id="degInfQry-studentname" placeholder="请输入学生姓名" autocomplete="off">
		              	</div>
		              	<div class="layui-input-inline">
				              <input class="layui-input" name="tutorname" id="degInfQry-studentname" placeholder="请输入导师姓名" autocomplete="off">
		              	</div>
		              	<div class="layui-input-inline">
			                <select name="prtype" id="degInfQry-prtype" lay-verify="">
				                <option value="">请选择一个论文检索类型</option>
				                <option value="1">SCI</option>
				                <option value="2">EI</option>
				              </select>
		              	</div>
		              </div>
		              <button class="layui-btn" data-type="btnSearch">查询</button>
		            </div>
							</div>
							<div class="layui-form-item">
		            <div class="degInfQry-btn" style="margin-bottom: 10px;">
		              <div class="layui-inline">
		              	<div class="layui-input-inline">
			                <select name="reviewtype" id="degInfQry-reviewtype" lay-verify="">
				                <option value="">请选择一个评阅方式</option>
				                <option value="1">明评</option>
				                <option value="2">盲评</option>
				              </select>
		              	</div>
		              	<div class="layui-input-inline">
				              <select name="secrecytype" id="degInfQry-secrecytype" lay-verify="">
				                <option value="">请选择一个保密方式</option>
				                <option value="1">秘密</option>
				                <option value="2">绝密</option>
				              </select>
		              	</div>
		              	<div class="layui-input-inline">
				              <select name="successive" id="degInfQry-successive" lay-verify="">
				                <option value="">请选择一个历届年份</option>
				                <option value="1">今年</option>
				                <option value="2">2017</option>
				                <option value="3">2016</option>
				                <option value="4">2015</option>
				              </select>
		              	</div>
		              </div>
		              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
		            </div>
							</div>
						</form>
             
            <table class="layui-hide" id="degInfQry-table" lay-filter="mtgShow-table"></table> 
            
            <script type="text/html" id="degInfQry-table-operate-barDemo">
              <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="show">查看</a>
            </script>
          </div>
        </div>
      </div>
    </div>
  </div>

	<script src="../../layuiadmin/layui/layui.js"></script> 
	<script>
	layui.config({
	  base: '../../layuiadmin/' //静态资源所在路径
	}).extend({
	  index: 'lib/index' //主入口模块
	}).use(['index', 'table', 'form'], function(){
	  var table = layui.table
	  ,admin = layui.admin
	  ,layer = layui.layer
	  ,form = layui.form;

	  form.render(null, 'component-form-element');
	  
	  table.render({
	    elem: '#degInfQry-table'
	    ,url: layui.setter.base + 'json/table/user.js'
	    ,cellMinWidth: 80
	    ,id: 'ID'
	    ,cols: [[
	      {field:'username', title: '学生姓名'}
        ,{field:'sex', title: '导师姓名', sort: true}
        ,{field:'city', title: '学院'}
        ,{field:'sign', title: '专业'}
        ,{title: '操作', width:178, align:'center', fixed: 'right', toolbar: '#degInfQry-table-operate-barDemo'}
	    ]]
	    ,page: true
	  });
	  
		var $ = layui.$, active = {
			btnSearch : function() {
				var tmplContent = $('#mtgShow-qryname');
				// 执行重载
				table.reload('degInfQry-table', {
					page : {
						curr : 1
					// 重新从第 1 页开始
					},
					where : {
						key : {
							id : tmplContent.val()
						}
					}
				});
			}
		};
	  
	  $('.degInfQry-btn .layui-btn').on('click', function(){
	    var type = $(this).data('type');
	    active[type] ? active[type].call(this) : '';
	  });

	});
	</script> 
</body>
</html>